package cn.b.sky.message.model;

import java.io.Serializable;
import java.util.Date;

public class InstantMessageInfo implements Serializable {

  /**
   * 
   */
  private static final long serialVersionUID = 1L;

  private String siteCode;

  private long messageID;//消息ID

  private String messageCode;//消息编码

  private String messageContent;//消息内容

  private String userCode;//用户代码

  private Date receivedTime;//接收时间

  private String readFlag;//是否已读标志

  private String fromTime;//起始时间

  private String toTime;//截止时间

  public String getSiteCode() {
    return siteCode;
  }

  public void setSiteCode(String siteCode) {
    this.siteCode = siteCode;
  }

  public static long getSerialversionuid() {
    return serialVersionUID;
  }

  public String getMessageCode() {
    return messageCode;
  }

  public void setMessageCode(String messageCode) {
    this.messageCode = messageCode;
  }

  public long getMessageID() {
    return messageID;
  }

  public void setMessageID(long messageID) {
    this.messageID = messageID;
  }

  public String getMessageContent() {
    return messageContent == null ? "" : messageContent;
  }

  public void setMessageContent(String messageContent) {
    this.messageContent = messageContent;
  }

  public String getUserCode() {
    return userCode == null ? "" : userCode;
  }

  public void setUserCode(String userCode) {
    this.userCode = userCode;
  }

  public Date getReceivedTime() {
    return receivedTime;
  }

  public void setReceivedTime(Date receivedTime) {
    this.receivedTime = receivedTime;
  }

  public String getReadFlag() {
    return readFlag;
  }

  public void setReadFlag(String readFlag) {
    this.readFlag = readFlag;
  }

  public String getFromTime() {
    return fromTime == null ? "" : fromTime;
  }

  public void setFromTime(String fromTime) {
    this.fromTime = fromTime;
  }

  public String getToTime() {
    return toTime == null ? "" : toTime;
  }

  public void setToTime(String toTime) {
    this.toTime = toTime;
  }

}
